Cloudflare Database Options
The following table maps Cloudflare products to common use-cases:
| Use-case | Product | Ideal for |
|---|---|---|
| Lightweight SQL database | D1 | Relational data, including user profiles, product listings and orders, and/or customer data. |
| Key-value storage | Workers KV | Configuration data, service routing metadata, personalization (A/B testing) |
| Object storage / blob storage | R2 | User-facing web assets, images, machine learning and training datasets, analytics datasets, log and event data. |
| Vector search & embeddings queries | Vectorize | Storing embeddings from AI models for semantic search and classification tasks. |
| Image storage | Images | Graphical web page content. |